﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
using System.Web.Configuration;

namespace SiteFox.Business.Data
{
    public static class WebConfig
    {
        public static string GetConnectionString()
        {
            return ConfigurationManager.ConnectionStrings["SiteFox_EntityDb"].ConnectionString;
        }
        public static int GetSessionTimeOut() 
        {
            return Convert.ToInt32(ConfigurationManager.AppSettings["SessionTimeOut"].ToString());
        }
    }
}
